package Factory.MethodFactory;

import Factory.SimpleFactory.Operation;

public class Client {
    public static void main(String[] args) {
        Operation operation = new AddFactory().createOperation();
        operation.setNumberA(1);
        operation.setNumberB(2);
        System.out.println(operation.getResult());
    }
}
